<?php /* Smarty version 2.6.16, created on 2009-04-21 23:36:19
         compiled from Calendar.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'url', 'Calendar.html', 4, false),array('function', 'language', 'Calendar.html', 18, false),array('function', 'cycle', 'Calendar.html', 26, false),array('modifier', 'date_format', 'Calendar.html', 4, false),array('modifier', 'escape', 'Calendar.html', 35, false),)), $this); ?>
<table class="border13" style="width:100%;" cellspacing="5">
<tr>
<td style="width:20%;font-size:10pt;">
        <a href="<?php echo smarty_function_url(array('link' => 'public.event.calendar','month' => ((is_array($_tmp=$this->_tpl_vars['iPrevMonth'])) ? $this->_run_mod_handler('date_format', true, $_tmp, '%m') : smarty_modifier_date_format($_tmp, '%m')),'year' => ((is_array($_tmp=$this->_tpl_vars['iPrevMonth'])) ? $this->_run_mod_handler('date_format', true, $_tmp, '%Y') : smarty_modifier_date_format($_tmp, '%Y'))), $this);?>
">
        &lt;&lt; <?php echo ((is_array($_tmp=$this->_tpl_vars['iPrevMonth'])) ? $this->_run_mod_handler('date_format', true, $_tmp, '%B %Y') : smarty_modifier_date_format($_tmp, '%B %Y')); ?>
  
        </a>
</td><td style="width:60%;font-size:13pt;text-align:center;">
<b><?php echo ((is_array($_tmp=$this->_tpl_vars['iCurrentMonth'])) ? $this->_run_mod_handler('date_format', true, $_tmp, '%B %Y') : smarty_modifier_date_format($_tmp, '%B %Y')); ?>
</b>
</td><td style="width:20%;font-size:10pt;text-align:right;">
        <a href="<?php echo smarty_function_url(array('link' => 'public.event.calendar','month' => ((is_array($_tmp=$this->_tpl_vars['iNextMonth'])) ? $this->_run_mod_handler('date_format', true, $_tmp, '%m') : smarty_modifier_date_format($_tmp, '%m')),'year' => ((is_array($_tmp=$this->_tpl_vars['iNextMonth'])) ? $this->_run_mod_handler('date_format', true, $_tmp, '%Y') : smarty_modifier_date_format($_tmp, '%Y'))), $this);?>
">
        <?php echo ((is_array($_tmp=$this->_tpl_vars['iNextMonth'])) ? $this->_run_mod_handler('date_format', true, $_tmp, '%B %Y') : smarty_modifier_date_format($_tmp, '%B %Y')); ?>
 &gt;&gt;
        </a>
</td>
</tr>
</table>
    <table style="width:100%;" cellpadding="5" cellspacing="0">
    <tr>
        <td style="width:14%;font-size:9pt;" class="mainmenu5"><?php echo smarty_function_language(array('text' => 'sunday'), $this);?>
</td><td style="width:14%;font-size:9pt;" class="mainmenu5"><?php echo smarty_function_language(array('text' => 'monday'), $this);?>
</td><td style="width:14%;font-size:9pt;" class="mainmenu5"><?php echo smarty_function_language(array('text' => 'tuesday'), $this);?>
</td><td style="width:14%;font-size:9pt;" class="mainmenu5"><?php echo smarty_function_language(array('text' => 'wednesday'), $this);?>
</td><td style="width:14%;font-size:9pt;" class="mainmenu5"><?php echo smarty_function_language(array('text' => 'thursday'), $this);?>
</td><td style="width:14%;font-size:9pt;" class="mainmenu5"><?php echo smarty_function_language(array('text' => 'friday'), $this);?>
</td><td style="width:14%;font-size:9pt;" class="mainmenu5"><?php echo smarty_function_language(array('text' => 'saturday'), $this);?>
</td>
    </tr>
<?php $_from = $this->_tpl_vars['aCalendar']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['acalendar'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['acalendar']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['aWeek']):
        $this->_foreach['acalendar']['iteration']++;
?>
    <tr>
<?php $_from = $this->_tpl_vars['aWeek']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['aweek'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['aweek']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['iDay'] => $this->_tpl_vars['mDay']):
        $this->_foreach['aweek']['iteration']++;
 if ($this->_tpl_vars['iDay'] == ''): ?>
    <td colspan="<?php echo $this->_tpl_vars['mDay']; ?>
"> </td>
<?php else: ?>
    <td <?php if ($this->_tpl_vars['iCurrentDay'] != $this->_tpl_vars['iDay']): ?> onmouseover="getElementById('fox_<?php echo $this->_tpl_vars['iDay']; ?>
').className='mainmenu5';" onmouseout="getElementById('fox_<?php echo $this->_tpl_vars['iDay']; ?>
').className='';"<?php endif; ?> style="height:150px;vertical-align:top;cursor:pointer;font-size:8pt;" class="<?php echo smarty_function_cycle(array('values' => 'border13,border2'), $this);?>
" onclick="window.location.href='<?php echo smarty_function_url(array('link' => 'public.event.day','month' => ((is_array($_tmp=$this->_tpl_vars['iCurrentMonth'])) ? $this->_run_mod_handler('date_format', true, $_tmp, '%m') : smarty_modifier_date_format($_tmp, '%m')),'year' => ((is_array($_tmp=$this->_tpl_vars['iCurrentMonth'])) ? $this->_run_mod_handler('date_format', true, $_tmp, '%Y') : smarty_modifier_date_format($_tmp, '%Y')),'day' => $this->_tpl_vars['iDay']), $this);?>
'">
    <div class="<?php if ($this->_tpl_vars['iCurrentDay'] == $this->_tpl_vars['iDay']): ?>mainmenu5<?php endif; ?>" style="padding:4px;" id="fox_<?php echo $this->_tpl_vars['iDay']; ?>
"><?php echo $this->_tpl_vars['iDay']; ?>
</div> <br />
    <div style="padding:4px;">
<?php if ($this->_tpl_vars['mDay'] != 0):  $this->assign('i', 0);  $_from = $this->_tpl_vars['mDay']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['aevents'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['aevents']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['aEvent']):
        $this->_foreach['aevents']['iteration']++;
 $this->assign('i', $this->_tpl_vars['i']+1);  if ($this->_tpl_vars['i'] < $this->_tpl_vars['iMaxCount']): ?>
        <div>
            <a href="<?php echo smarty_function_url(array('link' => 'public.event.view','id' => $this->_tpl_vars['aEvent']['id']), $this);?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['aEvent']['title'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</a>
        </div>
<?php elseif ($this->_tpl_vars['i'] == $this->_tpl_vars['iMaxCount']): ?>
        <br />
        <div style="text-align:right;">[<a href="<?php echo smarty_function_url(array('link' => 'public.event.day','month' => ((is_array($_tmp=$this->_tpl_vars['iCurrentMonth'])) ? $this->_run_mod_handler('date_format', true, $_tmp, '%m') : smarty_modifier_date_format($_tmp, '%m')),'year' => ((is_array($_tmp=$this->_tpl_vars['iCurrentMonth'])) ? $this->_run_mod_handler('date_format', true, $_tmp, '%Y') : smarty_modifier_date_format($_tmp, '%Y')),'day' => $this->_tpl_vars['iDay']), $this);?>
"><?php echo smarty_function_language(array('text' => 'view_all'), $this);?>
</a>]
<?php endif;  endforeach; endif; unset($_from);  endif; ?>
    </div>
    </td>
<?php endif;  endforeach; endif; unset($_from); ?>
    </tr>
<?php endforeach; endif; unset($_from); ?>
    </table>